package com.example.demo.entity;

import java.io.Serializable;


/**
 * 前端发送给Netty服务器的实体对象
 * **/
public class DataContent implements Serializable {

    private static final long serialVersionUID = 8021381444738260454L;

    private Integer action;		//动作类型
    private String userId;
    private String data;

    public Integer getAction() {
        return action;
    }
    public void setAction(Integer action) {
        this.action = action;
    }

    public String getData() {
        return data;
    }

    public void setData(String data) {
        this.data = data;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }
}


